﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="Auction.aspx.cs" Inherits="BFOAuction.Auction.Auction" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
    $(function () {
        $("#tabs").tabs();
        $("#tabs").tabs(750);        
    });
      
</script>

<script type="text/javascript" language="javascript">
   function ChangePrice() {
       document.getElementById("txtPriceIncreases").disabled = false;
   };

   function ChooseTabs() {    
   };
</script>

<div id="tabs" style="float:right">
  <ul>
    <li><a href="#tabs-1">Sản phẩm</a></li>
    <li><a href="#tabs-2">Thông tin đấu giá</a></li>
    <li><a href="#tabs-3">Thông tin thanh toán</a></li>
    <li><a href="#tabs-4">Thông tin vận chuyển</a></li>
    <li><a href="#tabs-5">Tổng cộng</a></li>

  </ul>
  <div id="tabs-1">
    <div class="divrow2col">
        <asp:Label ID="Label14" runat="server" Text="Sản phẩm: " Width="100px" ></asp:Label>
        <asp:DropDownList ID="cboProduct" runat="server" Width="200px">
        </asp:DropDownList>        
     </div>

     <div style="clear:left; padding-top:10px">
        <asp:Label ID="Label15" runat="server" Text="Loại sản phẩm: " Width="100px" ></asp:Label>
        <asp:DropDownList ID="DropDownList1" runat="server" Width="200px">
        </asp:DropDownList>
        <asp:Button ID="Button2" runat="server" Text="Thêm" Width="70px" ></asp:Button> 
     </div>

     <div style="clear:left; padding-top:10px">
       <asp:Label ID="Label17" runat="server" Text="Loại sản phẩm chọn: " Width="100px" ></asp:Label>
        <asp:ListBox ID="ListBox2" runat="server" Width="200px"></asp:ListBox>
     </div>
  </div>

  <div id="tabs-2" style=" width:700px">
        <div class="divrow2col">
            <asp:Label ID="Label1" runat="server" Text="Giá khởi điểm: " Width="200px" ></asp:Label>
            <asp:TextBox class="txtNumber" ID="txtPriceBegion" runat="server" 
                Width="200px" Text="0"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" Text="VND" ></asp:Label>
        </div>

        <div class="divrow2col">
            <asp:Label ID="Label3" runat="server" Text="Thời gian bắt đầu: " Width="200px"></asp:Label>           
            <asp:TextBox ID="txtTimeBegin" runat="server" 
                Width="200px" Text=""></asp:TextBox>
            <asp:Label ID="Label9" runat="server" Text="(ngày/tháng/năm giờ:phút:giây)" ></asp:Label>
        </div>

        <div class="divrow2col" style="clear:both">
            <asp:Label ID="Label4" runat="server" Text="Thời gian kết thúc: " Width="200px"></asp:Label>           
            <asp:TextBox ID="txtTimeEnd" runat="server" 
                Width="200px" Text=""></asp:TextBox>
            <asp:Label ID="Label10" runat="server" Text="(ngày/tháng/năm giờ:phút:giây)" ></asp:Label>
        </div>

        <div class="divrow2col">
            <asp:Label ID="Label5" runat="server" Text="Lượng giá trị tăng: " Width="200px" ></asp:Label>
            <asp:TextBox class="txtNumber" ID="txtPriceIncreases" runat="server" 
                Width="200px" Text="0" Enabled="false"></asp:TextBox>
            <asp:Label ID="Label6" runat="server" Text="VND" ></asp:Label>
            <a href="javascript:ChangePrice()">Thay đổi</a>
        </div>

        <div class="divrow2col">
            <asp:Label ID="Label7" runat="server" Text="Phí đấu giá: " Width="200px" ></asp:Label>
            <asp:TextBox class="txtNumber" ID="txtCost" runat="server" 
                Width="200px" Text="0" Enabled="false" ></asp:TextBox>
            <asp:Label ID="Label8" runat="server" Text="VND" ></asp:Label>
            <a href="javascript:ChangePrice()">Thay đổi</a>
        </div>

        <div class="divrow2col">
            <asp:Label ID="Label11" runat="server" Text="Ghi chú: " Width="200px" ></asp:Label>
            <asp:TextBox ID="txtNote" runat="server" 
                Width="200px" Text="" TextMode="MultiLine"></asp:TextBox>            
        </div>
  </div>
   
  <div id="tabs-3">
    <p>Thanh toán</p>    
  </div>

  <div id="tabs-4">
    <p>Vận chuyển</p>    
  </div>

  
  <div id="tabs-5">
     <div class="divrow2col">
            <asp:Label ID="Label12" runat="server" Text="Tổng chi phí: " Width="200px" ></asp:Label>
            <asp:TextBox class="txtNumber" ID="txtCostCreateAuction" runat="server" 
                Width="200px" Text="0"></asp:TextBox>
            <asp:Label ID="Label13" runat="server" Text="VND" ></asp:Label>
     </div>

      <div style="clear:left; padding-top:10px">
            <asp:Button ID="btnTotalCost" runat="server" Text="Tính tổng chi phí" 
                Width="150px" onclick="btnTotalCost_Click" ></asp:Button>                
            <asp:Button ID="btnUpdate" runat="server" Text="Tạo phiên đấu giá" Width="150px" ></asp:Button>
      </div>

  </div>


</div>

</asp:Content>
